<!--
 * @Description: 请输入描述信息
 * @Version: 请输入版本号
 * @Autor: renmengxue
 * @Date: 2021-12-01 15:31:17
 * @LastEditors: xuebao
 * @LastEditTime: 2021-12-01 20:04:27
-->
<template>
    <div>
        <el-button type="primary" @click="goTo('/backTopOne')"> 页面1</el-button>
        <el-button type="primary" @click="goTo('/backTopTwo')">页面2</el-button>
        <el-button type="primary" @click="goTo('/login')">登陆</el-button>
    </div>
</template>

<script>
// @ is an alias to /src

export default {
    name: "Home",
    components: {},
    methods: {
      goTo(path){
        this.$router.push(path)
      }
    }
};
</script>
